home *** CD-ROM | disk | FTP | other *** search
- #include "my color.h"
-
- SetUpMenus()
- /* set up menus and menu bar */
- {
- short i;
-
- myMenus[appleM] = GetMenu(appleID); /*read Apple menu*/
- AddResMenu(myMenus[appleM],(ResType)'DRVR'); /*add desk accessory names*/
- myMenus[fileM] = GetMenu(fileID); /*read file menu */
- myMenus[editM] = GetMenu(editID); /*read Edit menu */
- myMenus[colorM] = GetMenu(colorID); /*read color chooser menu */
- myMenus[CcolorM] = GetMenu(controlID);
-
- for (i=0;i<menuCount;++i)
- InsertMenu(myMenus[i],0); /*install menus in menu bar */
- DrawMenuBar(); /* and draw menu bar*/
- } /*SetUpMenus*/
-
-